import request from '@/utils/request'


// 列表
export function pageContent(query) {
  return request({
    url: '/api/admin/checkContent/page',
    method: 'get',
    params: query
  })
}

// 新增三级
export function addStandard(obj) {
  return request({
    url: '/api/admin/checkContent/addStandard',
    method: 'post',
    data: obj
  })
}



export function getItemStandard(id) {
  return request({
    url: '/api/admin/checkStandard/selectStandard/' + id,
    method: 'get'
  })
}


export function putItemStandard(id, obj) {
  return request({
    url: '/api/admin/checkStandard/' + id,
    method: 'put',
    data: obj
  })
}

export function standardList(id) {
  return request({
    url: '/api/admin/checkStandard/standardList/' + id,
    method: 'get'
  })
}


export function delItemStandard(id) {
  return request({
    url: '/api/admin/checkStandard/' + id,
    method: 'delete'
  })
}

export function standardNumber(numberId, contentId) {
  return request({
    url: '/api/admin/checkStandard/standardNumber',
    method: 'get',
    params: { numberId, contentId }
  })
}
